<?xml version="1.0" encoding="utf-8" ?>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

						<h:form>
							<h3>Login</h3>
							<div class="formblock">
								<fieldset>
									<div>
					        			<label class="Float" for="username">Username</label>
		                  				<h:inputText id="username"
											required="true"  requiredMessage="bitte angeben" 
											value="#{FormPlayer.userName}"/>
										<h:message for="username" style="color:red"/>
									</div>
									<div>
										<label class="Float" for="password">Passwort</label>
										<h:inputSecret id="password" required="true"
									       requiredMessage="bitte angeben" 
									       value="#{FormPlayer.password}" />
									    <h:message for="password" style="color:red"/>
									</div>
								
								</fieldset>
							</div>
							<div id="buttons">
								<h:commandButton action="#{LoginController.login}" value="Login" accesskey="l"/>
							</div>
						</h:form>				
						
			
